from django.urls import path
from . import views

app_name = 'news'

urlpatterns = [
    path('welcome/', views.welcome, name='welcome'),
    path('category_list/', views.CategoryListView.as_view(), name='category_list'),
    path('new_list/', views.NewListView.as_view(), name='new_list'),
    path('to_add_cate/', views.to_add_cate, name='to_add_cate'),
    path('add_cate/', views.add_cate, name='add_cate'),
    path('to_add_data/', views.to_add_data, name='to_add_data'),
    path('add_data/', views.add_data, name='add_data'),
]
